package com.yyaccp.appinfo.mapper;

import com.yyaccp.appinfo.domain.AppVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppVersionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AppVersion record);

    AppVersion selectByPrimaryKey(Long id);

    List<AppVersion> selectAll();

    Long getMaxId();

    int updateByPrimaryKey(@Param("appVersion") AppVersion appVersion);

    List<AppVersion> selectByVersionId(Long versionId);

    int getVersionCountByAppId(@Param("appId") Long appId);

    List<AppVersion> getVersionList(Long id);
}